package org.lq.us.dao;

import org.lq.us.commons.Page;
import org.lq.us.entity.Users;
import org.lq.us.query.UsersQuery;

public interface UsersDao {

	
	public int save(Users u);
	public int update(Users u);
	public int delete(int id);
	public Users getById(int id);
	public String getPassword(int id);
	
	
	public void findPageQuery(Page<Users> page,UsersQuery uq);
	
	public int getCountQuery(UsersQuery uq);
	
	public int getByName(String name);
	public Users login(String userName, String pwd);
	
	

}
